package com.crm.dao.mapper.messageprompt;

import com.crm.model.entity.messageprompt.MessagePrompt;
import com.crm.model.entity.messageprompt.MessagePromptExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface MessagePromptMapper {
    long countByExample(MessagePromptExample example);

    int deleteByExample(MessagePromptExample example);

    int deleteByPrimaryKey(String messageId);

    int insert(MessagePrompt record);

    int insertSelective(MessagePrompt record);

    List<MessagePrompt> selectByExample(MessagePromptExample example);

    MessagePrompt selectByPrimaryKey(String messageId);

    int updateByExampleSelective(@Param("record") MessagePrompt record, @Param("example") MessagePromptExample example);

    int updateByExample(@Param("record") MessagePrompt record, @Param("example") MessagePromptExample example);

    int updateByPrimaryKeySelective(MessagePrompt record);

    int updateByPrimaryKey(MessagePrompt record);
}